from rest_framework.routers import SimpleRouter
from django.urls import path

from .views import CrudDemoModelViewSet
from .views import StatDemoModelViewSet
from .views import new_page

router = SimpleRouter()
# router.register("api/ele_meter", CrudDemoModelViewSet)
# router.register("api/ele_meter_stat", StatDemoModelViewSet)

urlpatterns = [
    path('ele_meter/', new_page),
]
# urlpatterns += router.urls

